package com.droidpersist.core;

import java.util.HashMap;
import java.util.List;
import java.util.jar.JarFile;


public abstract class BaseRecord
{	
	private HashMap<String, Object> fieldsMap;
	
	public BaseRecord()
	{
	
		this.fieldsMap = new HashMap<String,Object>();
	}
		
	public Object get(String attribute)
	{
		return this.fieldsMap.get(attribute);
	}
	
	public void save()
	{
	}

	public void update()
	{

	}

	public void delete()
	{

	}

	public static long deleteAll()
	{
		return 0;
	}
	
	public static void where()
	{
		
	}
	
	public static <T extends BaseRecord> List<T> find(int ...pkValues)
	{
		return null;
	}
}
